package com.javaenzk.wfx.manager.service.impl;


import com.javaenzk.wfx.manager.dao.ShoppingMapper;
import com.javaenzk.wfx.manager.po.Tbshoppingcar;
import com.javaenzk.wfx.manager.service.ISHoppingCartService;
import com.javaenzk.wfx.manager.vo.MerchantInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ShoppingService implements ISHoppingCartService {
    @Resource
    private ShoppingMapper shoppingMapper;

    @Override
    public void addShopping(Tbshoppingcar tbShoppingCar) {
        shoppingMapper.addShopping(tbShoppingCar);
    }

    @Override
    public List<MerchantInfo> queryShoppingList() {
        return shoppingMapper.queryShoppingList();
    }
}
